package com.songyang.blog.redisLock;

import com.songyang.blog.util.RedisUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class TimerTask extends java.util.TimerTask {
    @Autowired
    RedisUtil redisUtil;
    @Override
    public void run() {
        System.out.println("!23");
    }
}
